package com.cg.design.depthdesign.abstractfactory.factories;

import com.cg.design.depthdesign.abstractfactory.checkbes.Checkbox;
import com.cg.design.depthdesign.abstractfactory.buttons.Button;

/**
 * 抽象工厂
 * <p>
 * 抽象工厂了解所有(抽象)产品类型。
 *
 * @program: LeetCode->GUIFactory
 * @author: cg
 * @create: 2022-04-07 09:33
 **/
public interface GUIFactory {

    /**
     * 创建按钮产品API
     * @return
     */
    Button createButton();

    /**
     * 创建复选框产品API
     * @return
     */
    Checkbox createCheckbox();

}
